api_rate_limit
Configuration for AF API Rate Limit Report table resource.
Read/write properties
total_ratelimited_requests<Double>
Total Ratelimited Requests..
total_bytes<Double>
Total bytes in sampled timeframe..
__count<Double>
count..
rpt_sample_time<Double>
Report Sample time..
http_req_method<String>
HTTP Request Method..
Maximum length = 30
api_endpoint<String>
API Endpoint Name.
Maximum length = 255
total_requests<Double>
Total Requests in given sampled timeframe..
api_instance<String>
API Instance Name.
Maximum length = 255
Operations
NOTE: In request payload, Mandatory parameters are marked red and bold.
The following parameters can be used in the nitro request :
onerror <String_value>
Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE
URL:https://<MGMT-IP>/nitro/v2/config/api_rate_limit
Query-parameters:
report_end_time
Use this query-parameter to specify the end time until where summary for report is considered.
Possible Values:time in milli seconds
report_start_time
Use this query-parameter to specify the start time from which the summary for report is considered.
Possible Values:time in milli seconds
HTTPS Method:GET
HTTPS Request Headers:
Accept:application/json
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Headers:
Content-Type:application/json
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value>, "api_rate_limit":[{
"total_ratelimited_requests":<Double_value>,
"total_bytes":<Double_value>,
"__count":<Double_value>,
"rpt_sample_time":<Double_value>,
"http_req_method":<String_value>,
"api_endpoint":<String_value>,
"total_requests":<Double_value>,
"api_instance":<String_value>}]}